package com.slw.emergency.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;

@TableName("epidemic")
public class Epidemic implements Serializable {

    /**
     *主键id
     */
    @TableId(type = IdType.ID_WORKER)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 省份
     */
    @TableField("province")
    private String province;

    /**
     * 地市
     */
    @TableField("city")
    private String city;

    /**
     * 疑似总数
     */
    @TableField("cnt_sum_suspected")
    private String cntSumSuspected;

    /**
     * 确诊总数
     */
    @TableField("cnt_sum_confirmed")
    private String cntSumConfirmed;

    /**
     * 死亡总数
     */
    @TableField("cnt_sum_dead")
    private String cntSumDead;

    /**
     * 治愈总数
     */
    @TableField("cnt_sum_cured")
    private String cntSumCured;

    /**
     * 经度
     */
    @TableField("lng")
    private String lng;

    /**
     * 维度
     */
    @TableField("lat")
    private String lat;

    /**
     * 统计时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 是否最新数据 0--否 1--是
     */
    @TableField("is_latest")
    private String isLatest;

    /**
     * 新增确诊数
     */
    @TableField("cnt_confirm")
    private String cntConfirm;

    /**
     * 新增治愈数
     * @return
     */
    @TableField("cnt_heal")
    private String cntHeal;

    /**
     * 新增死亡数
     */
    @TableField("cnt_dead")
    private String cntDead;

    /**
     * 新增疑似数
     */
    @TableField("cnt_suspect")
    private String cntSuspect;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCntSumSuspected() {
        return cntSumSuspected;
    }

    public void setCntSumSuspected(String cntSumSuspected) {
        this.cntSumSuspected = cntSumSuspected;
    }

    public String getCntSumConfirmed() {
        return cntSumConfirmed;
    }

    public void setCntSumConfirmed(String cntSumConfirmed) {
        this.cntSumConfirmed = cntSumConfirmed;
    }

    public String getCntSumDead() {
        return cntSumDead;
    }

    public void setCntSumDead(String cntSumDead) {
        this.cntSumDead = cntSumDead;
    }

    public String getCntSumCured() {
        return cntSumCured;
    }

    public void setCntSumCured(String cntSumCured) {
        this.cntSumCured = cntSumCured;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsLatest() {
        return isLatest;
    }

    public void setIsLatest(String isLatest) {
        this.isLatest = isLatest;
    }

    public String getCntConfirm() {
        return cntConfirm;
    }

    public void setCntConfirm(String cntConfirm) {
        this.cntConfirm = cntConfirm;
    }

    public String getCntHeal() {
        return cntHeal;
    }

    public void setCntHeal(String cntHeal) {
        this.cntHeal = cntHeal;
    }

    public String getCntDead() {
        return cntDead;
    }

    public void setCntDead(String cntDead) {
        this.cntDead = cntDead;
    }

    public String getCntSuspect() {
        return cntSuspect;
    }

    public void setCntSuspect(String cntSuspect) {
        this.cntSuspect = cntSuspect;
    }
}
